package com.nebula.service;

import java.util.List;

import com.nebula.common.ServerResponse;
import com.nebula.pojo.FriendsSession;
import com.nebula.pojo.FriendsShare;
import com.nebula.pojo.User;
import com.nebula.vo.FriendsShareListVo;
import com.nebula.vo.UserVo;

public interface IFriendsService {
	ServerResponse<UserVo> searchFriend(String str,String username);
	
	ServerResponse addFriend(String applicant,String respondent,String message);
	
	ServerResponse applicationList(String username);
	
	ServerResponse agreeApplication(String username,String applicant);
	
	ServerResponse updateView(String respondent);
	
	ServerResponse friendsList(String username);
	
	ServerResponse setRemark(String username,String friendname,String remark);
	
	ServerResponse deleteFriends(String username,String friendname);
	
	ServerResponse shareFile(FriendsShare friendsShare);
	
	ServerResponse sessionList(String username);
	
	ServerResponse deleteSessionList(Integer id,String username);
	
	ServerResponse<List<FriendsShareListVo>> getFriendsShareList(int id,User user);
	
	ServerResponse deleteFriendsShareList(String valArr);
	
	ServerResponse getFriendsCount(String username);
}
